package com.zhangxin.common.constant;

/**
 * 全局常量
 */
public final class ApiConstant {
    private ApiConstant() {
    }

    // 成功
    public static final int SUCCESS_CODE = 1;

    // 成功提示
    public static final String SUCCESS_MESSAGE = "Successful.";

    // 错误
    public static final int ERROR_CODE = 0;

    // 未登录
    public static final int NO_LOGIN_CODE = -100;

    // 请登陆提示
    public static final String NO_LOGIN_MESSAGE = "Please login.";

    // 错误提示信息
    public static final String ERROR_MESSAGE = "Oops! Something was wrong.";
}
